﻿using STT.Layer.Connection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace STT.Profile.UserControlsGV
{
    public partial class UcLichGiangDay : System.Web.UI.UserControl
    {
        ToolBox tb = new ToolBox();
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadLichGV();
        }

        protected void gvlichgv_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
        {

        }

        protected void gvlichgv_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {

        }
        private void LoadLichGV()
        {
            gvlichgv.DataSource = tb.GetDataTableById2("[TbGiangVien_GetLichDay]", Session["Magv"].ToString());
            gvlichgv.DataBind();
        }
    }
}